<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type content=text/html; charset=utf-8" />


    <meta name="keywords" content="it новости,it статьи,обзоры  ">

    <base href="/main" />
		<link rel="stylesheet" type="text/css" href="/css/master.css"/>
		<link rel="stylesheet" type="text/css" href="/css/menu.css"/>
    <link rel="stylesheet" type="text/css" href="/twitterbootstrap/css/bootstrap.min.css"/>
    <link rel="SHORTCUT ICON" href="/images/favicon.ico" type="image/x-icon" />
	<?php header("Content-Type: text/html; charset=UTF-8");?>

	<?=$this->headTitle()->setSeparator('/');?>

    <?php echo $this->jQuery();?>
    <script type="text/javascript">
        $(function(){
            var arrow= $('<img>',{src:'images/arrow_up.png',style:'vertical-align:middle'});
            var btn = $('<div>',{id:'up','text':'Вверх'}).hide().click(function(){
                $('body,html').animate({scrollTop: 0}, 'slow');
            });
            btn.prepend(arrow);
            $('body').append(btn);
            if($(window).scroll(function(){
                if($(window).scrollTop() > 700){
                    $('#up').fadeIn();
                }else{
                    $('#up').fadeOut();
                }
            }));
        });
    </script>
</head>
<body>
<div id="fb-root"></div>
<script>
    window.fbAsyncInit = function() {
        // init the FB JS SDK
        FB.init({
            appId      : '169190319930871',                        // App ID from the app dashboard
            channelUrl : '//WWW.ITDOCS.KZ/channel', // Channel file for x-domain comms
            status     : true,                                 // Check Facebook Login status
            xfbml      : true                                  // Look for social plugins on the page
        });

        // Additional initialization code such as adding Event Listeners goes here
    };
    // Load the SDK asynchronously
    (function(d, s, id){
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) {return;}
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/ru_RU/all.js";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>
<div id='wrapper'>
	<div id="header">

        <div id="headerbox">

           <div><img style="float:left;border-radius:6px 0 0 0;" src="images/logo4.png"/>

           <div style="float:right;"><?=$this->placeholder('searchform')?></div></div>
            <a href="/rss" title = "RSS-подписка"><img style = "padding-left:450px;padding-top:10px;" src = "images/rss.png"/></a>
        </div>
	<div id="menu">
				<?=$this->navigation()
				->menu($this->menu)	
				->renderMenu(null,array(
				'minDepth'=>0,
				'maxDepth'=>0,
				'ulClass'=>'menu',
				'onlyActiveBranch'=>false
				));?>
	</div>
</div>

<div class="sidebar">
    <?=$this->placeholder('sidebar')?> 
</div>
<div id="content">
	<div id="breadcrumbs">
		<?=$this->navigation()->breadcrumbs($this->menu)->setMinDepth(0)->setLinkLast(false)->SetSeparator(' / '.PHP_EOL); ?>
	</div>
	<div><?=$this->layout()->content?></div>

</div>
<div id="footer">
        <a href="http://framework.zend.com/"><img src="/images/poweredby_zf.png"></a>
        <div style="float:right;padding-top:6px;">
            <!--LiveInternet counter--><script type="text/javascript"><!--
                document.write("<a href='http://www.liveinternet.ru/click' "+
                    "target=_blank><img src='//counter.yadro.ru/hit?t25.6;r"+
                    escape(document.referrer)+((typeof(screen)=="undefined")?"":
                    ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
                        screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
                    ";"+Math.random()+
                    "' alt='' title='LiveInternet: показано число посетителей за"+
                    " сегодня' "+
                    "border='0' width='88' height='15'><\/a>")
                //--></script><!--/LiveInternet-->

        </div>
    <span>&copy; itdocs.kz 2013</span>
    <div id="sitemap"><?=$this->navigation()->sitemap($this->menu)->setFormatOutput(true);?></div>
</div>
</div>
</body>
</html>
